package com.willcode.demo.registerbean.method4scan.impl;

import com.willcode.demo.registerbean.method4scan.interfacee.IDemo4Scan;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @author Will
 */
@Component("Demo4ScanImpl")
@Scope("prototype")
public class Demo4ScanImpl implements IDemo4Scan {

    @Override
    public String testDemo(String str) {
        return "测试Scan-" + str;
    }
}
